package com.bestcem.xm.txtanls.algorithm;

import com.bestcem.xm.common.core.algorithm.BinaryId;
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingAlgorithm;
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingValue;

import java.util.Collection;

/**
 * @author jy.zhao
 * @version 2022/3/2 15:13
 * @date 2021/8/5 17:19
 **/
public class TxtanlsJoinInfoViewpointPreciseTableShardingAlgorithm implements PreciseShardingAlgorithm<BinaryId>, TxtanlsSharding {
    @Override
    public String doSharding(Collection<String> availableTargetNames, PreciseShardingValue<BinaryId> shardingValue) {
        return sharding(availableTargetNames, shardingValue);
    }
}
